package com.aipp.mall.h5.domain.dto;

import com.aipp.mall.common.anno.Note;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;


/**
 * 发货记录
 *
 * @author Jinxin
 */
@Data
public class DeliveryReq {

    @Note(value = "订单id")
    @NotNull(message = "订单id不能为空")
    private Long orderId;

    @Note(value = "物流单号")
    @NotBlank(message = "物流单号不能为空")
    private String deliverySn;

    @Note(value = "快递公司Code")
    @NotBlank(message = "快递公司Code不能为空")
    private String deliveryCompanyCode;
}